import {$get,$post} from './http'


export const $orderList=async(params:object)=>{
    return await $post('./report/order/list',params)
}
export const $saleList=async(params:object)=>{
    return await $post('./report/sale/list',params)
}
export const $userList=async(params:object)=>{
    return await $post('./report/user/list',params)
}
export const $cartList=async(params:object)=>{
    return await $post('./report/cart/list',params)
}
export const $source=async(params:object)=>{
    return await $get('./report/cart/source',params)
}
export const $liveList=async(params:object)=>{
    return await $post('./report/live/list',params)
}
export const $payList=async(params:object)=>{
    return await $post('./report/pay/list',params)
}
// function login(data?:object){
//     return axios.post('./user/login/',data);
// }

// function register(data:unknown){
//     return axios.post('./user/register/',data);
// }




